import { reqGoodsDetailInfo } from "@/api"
export default {
  state: {
    detailList:[]
  },
  mutations: {
    GETDETAIL_DATA(state,detailList){
      state.detailList = detailList
    }
  },
  actions: {
    async getCarousel({commit}){
      const res = await reqGoodsDetailInfo()
      console.log(res);
      commit('GETDETAIL_DATA',res)
    }
  },
  getters: {},
};